package com.kpijavatraining.module.io;


/**
 * class contains methods to output the string and integer values ​​on the screen
 * @author Olexandr Bogdan
 */
public class ConsolePrinter {

	/**
	 * method displays an integer on the screen without line
	 * @param argument
	 */
	public void print(int argument){
		System.out.print(argument);
	}
	
	/**
	 * method displays the string on the screen without line
	 * @param argument
	 */
	public void print(String argument){
		System.out.print(argument);
	}
	
	/**
	 * method displays the object as string on the screen without line
	 * @param argument
	 */
	public void print(Object argument){
		System.out.print(argument.toString());
	}
	
	/**
	 * method displays an integer on the screen with line
	 * @param argument
	 */
	public void println(int argument){
		System.out.println(argument);
	}
	
	/**
	 * method displays the string on the screen with line
	 * @param argument
	 */
	public void println(String argument){
		System.out.println(argument);
	}
	
	/**
	 * method displays the object as string on the screen with line
	 * @param argument
	 */
	public void println(Object argument){
		System.out.println(argument.toString());
	}
	
}